﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="sidePart.ascx.cs" Inherits="aspx_sidePart" %>
<section>
    <div class="heading">
        <img src="../../images/title/rmdj.png" alt="热门点击" />
    </div>
    <div class="content">
        <ul class="list">
            <asp:Repeater ID="Repeater2" runat="server" DataSourceID="ods_热门点击">
                <ItemTemplate>
                    <li><a href="<%=ResolveUrl("~/aspx/video/one.aspx") %>?id=<%# Eval("视频ID") %>">
                        <%# Eval("标题") %></a></li>
                </ItemTemplate>
            </asp:Repeater>
            <asp:ObjectDataSource runat="server" ID="ods_热门点击" OldValuesParameterFormatString="original_{0}"
                SelectMethod="GetDataBy热门点击" TypeName="ds_名师讲堂TableAdapters.tb_视频TableAdapter" />
        </ul>
    </div>
</section>
<section>
    <div class="heading">
        <img src="../../images/title/zxfb.png" alt="最新上传" />
    </div>
    <div class="content">
        <ul class="list">
            <asp:Repeater ID="Repeater3" runat="server" DataSourceID="ods_最新上传">
                <ItemTemplate>
                    <li><a href="<%=ResolveUrl("~/aspx/video/one.aspx") %>?id=<%# Eval("视频ID") %>"><%# Eval("标题") %></a></li>
                </ItemTemplate>
            </asp:Repeater>
            <asp:ObjectDataSource runat="server" ID="ods_最新上传"
                OldValuesParameterFormatString="original_{0}" SelectMethod="GetDataBy最新发布"
                TypeName="ds_名师讲堂TableAdapters.tb_视频TableAdapter" />
        </ul>
    </div>
</section>